package com.slkj.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

@Data
@Table(name = "sl_document")
public class DocumentAll {

    @Id
    private Integer id;
    //2文件唯一ID
    private String docUuid;
    //5文件标题
    private String docTitle;
    //3发送人
    private String sendPeople;
    //4文件状态
    private String docStatus;

    //6优先级别
    private String speedLevel;
    //7文件四大类型
    private String docType;
    //8创建时间
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime addTime;
    //9收件人，用来存。
    private String receivePeoples;
    //10是否回复
    private Integer isReply;
    //11抄送人
    private String copyPeople;
    //12正文编号
    private String docNum;
    //13正文地址
    private String docAddress;

    //13 是否收藏
 //   private Integer collect;

}
